package com.example.startscreen;

import com.example.startscreen.Category.categoryEnum;


public class ArcheologyLocation extends MyLocation {

	static ArcheologyLocation[] arrArcheology = {
		new ArcheologyLocation(1,1,"Duklja","Doclea ruins","42.468108,19.265599","http://en.wikipedia.org/wiki/Duklja","archeology/duklja.xml"),
		new ArcheologyLocation(2,1,"Medun","Old town Medun","42.470546,19.364777","http://en.wikipedia.org/wiki/Medun","archeology/medun.xml"),
		new ArcheologyLocation(3,20,"Pećina Odmut","Odmut cave","43.162587,18.788209","http://bs.wikipedia.org/wiki/Odmut_(Crna_Gora)","archeology/odmut.xml"),
		new ArcheologyLocation(4,18,"Martinićka gradina","Gradina Martinici","42.500548,19.227233","http://www.montenegrina.net/pages/pages1/arheologija/martinicka_gradina_civita_dioclitiana.htm","archeology/gradina.xml"),
		new ArcheologyLocation(5,6,"Crvena stijena","Red Rock Cave","42.769951,18.479776","http://bs.wikipedia.org/wiki/Crvena_stijena_(Crna_Gora)","archeology/crvena_stijena.xml"),
		new ArcheologyLocation(6,13,"Municipium S","Municipium S","43.300697,19.284096","http://sr.wikipedia.org/sr-el/%D0%9A%D0%BE%D0%BC%D0%B8%D0%BD%D0%B8","archeology/komini.xml"),
	};

	public static String getName(int locID) {
		String s = "";
		for (int i=0; i < arrArcheology.length; i++) {
			if (arrArcheology[i].locID == locID)
				return arrArcheology[i].name;
		}
		return s;
	}

	public static String getIme(int locID) {
		String s = "";
		for (int i=0; i < arrArcheology.length; i++) {
			if (arrArcheology[i].locID == locID)
				return arrArcheology[i].ime;
		}
		return s;
	}

	public static String getUrl(int locID) {
		String s = "";
		for (int i=0; i < arrArcheology.length; i++) {
			if (arrArcheology[i].locID == locID)
				return arrArcheology[i].url;
		}
		return s;
	}

	public static String getDescription(int locID) {
		String s = "";
		for (int i=0; i < arrArcheology.length; i++) {
			if (arrArcheology[i].locID == locID)
				return arrArcheology[i].description;
		}
		return s;
	}


	public static String getLatLongPair(int locID) {
		String s = "";
		for (int i=0; i < arrArcheology.length; i++) {
			if (arrArcheology[i].locID == locID)
				return arrArcheology[i].latlongpair;
		}
		return s;
	}

	public ArcheologyLocation(int locID, int cityID, String ime, String name, String latlongpair, String url, String description) {
		super(locID, Category.categoryEnum.ARCHEOLOGY.getValue(), cityID, ime, name, latlongpair, url, description);
	}

}
